package com.easpeed.comon.bean

/**
 * Created by bigyu on 2024/11/28 09:22
 * com.easpeed.comon.bean
 */
class HighlightBean {

    var x: Float = 0f
    var y: Float = 0f
    var idnex = 0


    constructor(x: Float, y: Float, idnex: Int) {
        this.x = x
        this.y = y
        this.idnex = idnex
    }

    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as HighlightBean

        if (x != other.x) return false
        if (idnex != other.idnex) return false

        return true
    }

    override fun hashCode(): Int {
        var result = x.hashCode()
        result = 31 * result + idnex
        return result
    }


}